package com.naiterui.ehp.bp.bo.b2c;

import java.io.Serializable;

/**
 * 商户代表药品信息
 * b2c
 * @author YongYang
 * @since 1.0.0
 */
public class MedicationBO implements Serializable{

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -1053885553757429695L;

    private Long id; // 商品id
    private String dabaiIndex; // 小七指数
    private String agentIndex; // 代表指数
    private Long brandId; // 品牌id
    private Integer isOnSale; // 是否上架
    private Integer saleNumber; // 销售数量
    private String buyPrice; // 销售价格
    private String commonName; // 通用名
    private String usage; // 使用说明
    private String goodsName; // 商品名
    private Integer stock; // 库存
    private String manufacturer;// 厂商
    private String marketPrice;// 市场价格
    private String image; // 商品图片

    public MedicationBO(Long id, String dabaiIndex, String agentIndex, Long brandId, Integer isOnSale, Integer saleNumber, String buyPrice,
            String commonName, String usage, String goodsName, Integer stock, String manufacturer, String marketPrice, String image) {
        super();
        this.id = id;
        this.dabaiIndex = dabaiIndex;
        this.agentIndex = agentIndex;
        this.brandId = brandId;
        this.isOnSale = isOnSale;
        this.saleNumber = saleNumber;
        this.buyPrice = buyPrice;
        this.commonName = commonName;
        this.usage = usage;
        this.goodsName = goodsName;
        this.stock = stock;
        this.manufacturer = manufacturer;
        this.marketPrice = marketPrice;
        this.image = image;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDabaiIndex() {
        return dabaiIndex;
    }

    public void setDabaiIndex(String dabaiIndex) {
        this.dabaiIndex = dabaiIndex;
    }

    public String getAgentIndex() {
        return agentIndex;
    }

    public void setAgentIndex(String agentIndex) {
        this.agentIndex = agentIndex;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Integer getIsOnSale() {
        return isOnSale;
    }

    public void setIsOnSale(Integer isOnSale) {
        this.isOnSale = isOnSale;
    }

    public Integer getSaleNumber() {
        return saleNumber;
    }

    public void setSaleNumber(Integer saleNumber) {
        this.saleNumber = saleNumber;
    }

    public String getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(String buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getCommonName() {
        return commonName;
    }

    public void setCommonName(String commonName) {
        this.commonName = commonName;
    }

    public String getUsage() {
        return usage;
    }

    public void setUsage(String usage) {
        this.usage = usage;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(String marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

}
